What are the aesthetics in this plot?
What geometric object is being plotted?
Univariate (One Variable) Visualizations – For Numerical Data
ggplot(data = penguins, mapping = aes(x = bill_length_mm)) +
geom_histogram() +
labs(x = "Bill Length (mm)")Is this aesthetic global or local?
binwidthBivariate (Two Variables) Visualizations – For Numerical Data
Side-by-Side Boxplots
Side-by-Side Density Plots (Ridge Plots)
Scatterplots
Faceted Histograms
Which do you prefer?
Multivariate Plots
There are two main methods for adding a third (or fourth) variable into a data visualization:
Colors
Facets
Self contained
Flag where R should look for files
Allow for us to easily use here() to find files
Should be how you work in RStudio every time
here() to read in your data?